package com.sneaker.shower.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel(value = "菜单DTO", description = "如果该菜单下有子menu 且无子产品，则这个菜单为横条的那种菜单样式")
public class MenuDTO {

    private String guid;

    @ApiModelProperty("产品名字")
    private String name;

    @ApiModelProperty("英文名字")
    private String englishName;

    @ApiModelProperty("产品描述")
    private String description;

    @ApiModelProperty("最小金额")
    private BigDecimal minPrice;

    @ApiModelProperty("最大金额")
    private BigDecimal maxPrice;

    private Boolean hasMaxPrice = Boolean.TRUE;

    @ApiModelProperty("菜单类型，用于区分选择产品时如何渲染菜单样式：0、球鞋清洗，1、球鞋修复类菜单")
    private Integer type;

    @ApiModelProperty("渲染时的标签样式，0为最外层的样式，1为横条样式，2为圆型样式，3不显示")
    private Integer iconType;

    @ApiModelProperty("父级菜单GUID")
    private String parentGuid;

    private List<MenuDTO> subMenuList;

    private List<ProductDTO> productDTOList;

    private Boolean checked = Boolean.FALSE;
}
